3.191 \(\int x (a (b x^n)^p)^q \, dx\)

Optimal. Leaf size=23 \[ \frac {x^2 \left (a \left (b x^n\right )^p\right )^q}{n p q+2} \]

[Out]

x^2*(a*(b*x^n)^p)^q/(n*p*q+2)

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {6679, 30} \[ \frac {x^2 \left (a \left (b x^n\right )^p\right )^q}{n p q+2} \]

Antiderivative was successfully verified.

[In]

Int[x*(a*(b*x^n)^p)^q,x]

[Out]

(x^2*(a*(b*x^n)^p)^q)/(2 + n*p*q)

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 6679

Int[(u_.)*((c_.)*((d_.)*((a_.) + (b_.)*(x_))^(n_))^(p_))^(q_), x_Symbol] :> Dist[(c*(d*(a + b*x)^n)^p)^q/(a +
b*x)^(n*p*q), Int[u*(a + b*x)^(n*p*q), x], x] /; FreeQ[{a, b, c, d, n, p, q}, x] &&  !IntegerQ[p] &&  !Integer
Q[q]

Rubi steps

\begin {align*} \int x \left (a \left (b x^n\right )^p\right )^q \, dx &=\left (x^{-n p q} \left (a \left (b x^n\right )^p\right )^q\right ) \int x^{1+n p q} \, dx\\ &=\frac {x^2 \left (a \left (b x^n\right )^p\right )^q}{2+n p q}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 23, normalized size = 1.00 \[ \frac {x^2 \left (a \left (b x^n\right )^p\right )^q}{n p q+2} \]

Antiderivative was successfully verified.

[In]

Integrate[x*(a*(b*x^n)^p)^q,x]

[Out]

(x^2*(a*(b*x^n)^p)^q)/(2 + n*p*q)

________________________________________________________________________________________

fricas [A]  time = 0.60, size = 29, normalized size = 1.26 \[ \frac {x^{2} e^{\left (n p q \log \relax (x) + p q \log \relax (b) + q \log \relax (a)\right )}}{n p q + 2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a*(b*x^n)^p)^q,x, algorithm="fricas")

[Out]

x^2*e^(n*p*q*log(x) + p*q*log(b) + q*log(a))/(n*p*q + 2)

________________________________________________________________________________________

giac [A]  time = 0.24, size = 29, normalized size = 1.26 \[ \frac {x^{2} e^{\left (n p q \log \relax (x) + p q \log \relax (b) + q \log \relax (a)\right )}}{n p q + 2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a*(b*x^n)^p)^q,x, algorithm="giac")

[Out]

x^2*e^(n*p*q*log(x) + p*q*log(b) + q*log(a))/(n*p*q + 2)

________________________________________________________________________________________

maple [A]  time = 0.00, size = 24, normalized size = 1.04 \[ \frac {x^{2} \left (a \left (b \,x^{n}\right )^{p}\right )^{q}}{n p q +2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(a*(b*x^n)^p)^q,x)

[Out]

x^2*(a*(b*x^n)^p)^q/(n*p*q+2)

________________________________________________________________________________________

maxima [A]  time = 2.70, size = 27, normalized size = 1.17 \[ \frac {a^{q} b^{p q} x^{2} {\left ({\left (x^{n}\right )}^{p}\right )}^{q}}{n p q + 2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a*(b*x^n)^p)^q,x, algorithm="maxima")

[Out]

a^q*b^(p*q)*x^2*((x^n)^p)^q/(n*p*q + 2)

________________________________________________________________________________________

mupad [B]  time = 0.99, size = 23, normalized size = 1.00 \[ \frac {x^2\,{\left (a\,{\left (b\,x^n\right )}^p\right )}^q}{n\,p\,q+2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*(a*(b*x^n)^p)^q,x)

[Out]

(x^2*(a*(b*x^n)^p)^q)/(n*p*q + 2)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x \left (a \left (b x^{n}\right )^{p}\right )^{q}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*(a*(b*x**n)**p)**q,x)

[Out]

Integral(x*(a*(b*x**n)**p)**q, x)

________________________________________________________________________________________